package com.ytjj.qmyx.admin.service;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.dto.BrandProductDto;
import com.ytjj.qmyx.admin.model.request.ProductLifeRequest;
import com.ytjj.qmyx.admin.model.response.ProductForumInfoResponse;
import com.ytjj.qmyx.admin.model.response.ProductLifeResponse;

import java.util.List;

/**
 *
 *
 * @Version: 1.0
 */
public interface ProductForumService {

    CommonPage<ProductLifeResponse> getProductLife(ProductLifeRequest productLifeRequest);

    Integer removeForum(Integer id);

    Integer updateSort(Integer id, Integer sort);

    List<ProductForumInfoResponse> getBrandShopProductList(Integer id);

    List<BrandProductDto> getBrandProductsByBankerId(Integer bankerId, String productName, Integer id);

    void addBrandProduct(Integer forumId, Integer productId);

    void removeBankerProduct(Integer id);


    void updateBankerProductSort(Integer id, Integer sort);
}
